package cn.itcast.dao;

import cn.itcast.pojo.PayLog;

/**
 * Demo class
 *
 * @author gyc
 * @date 2021 /10/20
 */
public interface PayLogDao {

    /**
     * Save.
     *
     * @param payLog the pay log
     */
    public void save(PayLog payLog);

    /**
     * Find by transaction id pay log.
     *
     * @param transactionId the transaction id
     * @return the pay log
     */
    PayLog findByTransactionId(String transactionId);

    /**
     * Update.
     *
     * @param payLog the pay log
     */
    void update(PayLog payLog);

    PayLog findByOrderId(String orderId);
}
